<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="cpts_169_dcw/js/jquery-3.2.1.js"></script>
<script type="text/javascript">
	$(function() {
		var item;
		$('#matrixAdd').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp" + ":"+"include" + " page" + "='"+"matrix/matrixAdd.jsp' />";
			alert(item);
			$('#matrixjsp').append(item);
		});
		$('#matrixMultiply').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/matrixMultiply.jsp' />";
			$('#matrixjsp').append(item);
		});
		$('#matrixInverse').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/matrixInverse.jsp' />";
			$('#matrixjsp').append(item);
		});
		$('#determinant').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/determinant.jsp' />";
			$('#matrixjsp').append(item);
		});
		$('#matrixTranspose').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/matrixTranspose.jsp' />";
			$('#matrixjsp').append(item);
		});
		$('#equationsSolution').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/equationsSolution.jsp' />";
			$('#matrixjsp').append(item);
		});
		$('#unequationsSolution').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/unequationsSolution.jsp' />";
			$('#matrixjsp').append(item);
		});
		$('#matrixRank').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/matrixRank.jsp' />";
			$('#matrixjsp').append(item);
		});
		$('#isCorrelate').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/isCorrelate.jsp' />";
			$('#matrixjsp').append(item);
		});
		$('#matrixEigenvalue').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/matrixEigenvalue.jsp' />";
			$('#matrixjsp').append(item);
		});
		$('#isSimilarity').click(function() {
			$('#matrixjsp').empty();
			item = "<jsp:include page='matrix/isSimilarity.jsp' />";
			$('#matrixjsp').append(item);
		});
	});
</script>	

</head>
<body>

</body>
</html>